Sellkit\Elementor\Modules\Checkout\Classes\Global_Hooks D

Total Complexity 204
Dependencies 10
Dependents 2
Total lines 1,437
Lines of code 843
Logical lines of code 548
Comment lines 323
Methods 39
Properties 1

Methods 39

Method Rating Maintainability Complexity Lines of code
sellkit_checkout_modify_cart_by_bundle_products()
B
37 22 69
apply_discounted_prices()
B
40 18 57
perform_upsell_accept_button()
A
39 14 62
before_cart_calculate()
A
47 13 35
modify_order_data_before_validate()
A
49 11 30
add_item_to_order_details()
A
47 9 36
change_cart_item_qty()
A
47 8 35
modify_checkout_order_item()
S
43 5 54
sellkit_default_shipping_method()
S
55 7 19
take_care_of_decision_step()
S
54 6 21
make_changes_after_cart_item_edit()
S
55 6 19
attach_user_shipping_fields_to_order_email()
S
55 6 18
attach_user_billing_fields_to_order_email()
S
55 6 18
sellkit_state_lookup_by_postcode()
S
55 6 17
checkout_fragment()
S
49 5 31
perform_upsell_reject_button()
S
52 5 26
sellkit_checkout_during_ajax()
S
53 5 23
auth_user()
S
57 5 16
call_funnel_popups()
S
55 4 19
search_for_email()
S
61 4 12
modify_variation_items()
S
57 3 17
simulate_our_widget_page_as_checkout()
S
58 3 16
set_customer_details_ajax()
S
58 3 15
search_for_username()
S
62 3 12
apply_template_replacement_during_ajax()
S
54 2 22
check_decision_step_with_no_page_id()
S
56 2 17
add_shipping_total_to_review_order()
S
60 2 16
widget_settings()
S
64 3 9
validate_postcode()
S
62 2 11
__construct()
S
53 1 21
ajax_handler()
S
65 2 9
apply_coupon()
S
67 2 8
validate_user_defined_fields()
S
64 2 10
save_user_defined_fields()
S
65 2 9
coupon_form()
S
66 2 9
validate_phone_number()
S
65 2 9
modify_variation_title()
S
75 1 4
modify_products_price_before_woo_apply_discounts()
S
67 1 8
instance()
S
75 1 4